package com.explment.lens.controller;

import com.explment.lens.entity.SysTableWidthEntity;
import com.explment.lens.service.SysTableWidthService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 业务中表的宽度 controller
 */
@RestController
@RequestMapping("/sysTableWidthEntity")
public class SysTableWidthController {
    @Autowired
    private SysTableWidthService sysTableWidthEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysTableWidthEntityService.getById(id));
    }
}